package com.education.service.impl;

import com.education.common.JsonData;
import com.education.dao.AdminMapper;
import com.education.pojo.Admin;
import com.education.service.IAdminService;
import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author 林心晨
 * @Title:  admin-recycle
 * @Package
 * @Description:
 * @date create in 5.10  18:28
 */
@Service("iAdminService")
@Transactional
public class AdminServiceImpl implements IAdminService {

    @Autowired
    private AdminMapper adminMapper ;

    public JsonData recycleList(int pageNum,int pageSize){

        PageHelper.startPage(pageNum, pageSize);

        List<Admin> adminList = adminMapper.selectAllByDeleted();
        return null ;
    }



}
